package cn.agiledata.bank.linkbank.impl;

import java.math.BigDecimal;
import java.util.Date;

import cn.agiledata.bank.linkbank.logic.query.UnsOrder;

/**
 * 支付系统订单
 * 
 * @author 马贤波
 * 
 */
public class UnsOrderImpl implements UnsOrder {
    /**
     * 商户订单号
     */
    private String orderId;

    /**
     * 交易编号
     */
    private String unsTransId;

    /**
     * 货币类型
     */
    private String currencyType;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 订单创建时间
     */
    private Date createTime;

    /**
     * 交易状态，0-未确认，3-交易成功，4-交易失败
     */
    private String status;

    /**
     * 是否担保交易
     */
    private boolean assured;

    /**
     * 备注
     */
    private String remark;

    public BigDecimal getAmount() {
        return this.amount;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getCurrencyType() {
        return this.currencyType;
    }

    public String getUnsTransId() {
        return this.unsTransId;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public String getRemark() {
        return this.remark;
    }

    public String getStatus() {
        return this.status;
    }

    public boolean isAssured() {
        return this.assured;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public void setAssured(boolean assured) {
        this.assured = assured;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
    }

    public void setUnsTransId(String unsTransId) {
        this.unsTransId = unsTransId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setStatus(String transStatus) {
        this.status = transStatus;
    }

    public String toString() {
        String s = "";
        s += "orderId=" + this.orderId + ", ";
        s += "unsTransId=" + this.unsTransId + ", ";
        s += "currencyType=" + this.currencyType + ", ";
        s += "amount=" + this.amount + ", ";
        s += "createTime=" + this.createTime + ", ";
        s += "status=" + this.status + ", ";
        s += "assured=" + this.assured + ", ";
        s += "remark=" + this.remark;
        return s;
    }
}
